package cn.beans;

public class NewsCategory implements java.io.Serializable {

	// Fields

	private String id;
	private String nameEn;
	private String nameCn;
	private String parentId;
	private Integer levels;
	private Integer turnnumber;
	private String path;

	// Constructors

	/** default constructor */
	public NewsCategory() {
	}

	/** full constructor */
	public NewsCategory(String nameEn, String nameCn, String parentId,
			Integer levels, Integer turnnumber, String path) {
		this.nameEn = nameEn;
		this.nameCn = nameCn;
		this.parentId = parentId;
		this.levels = levels;
		this.turnnumber = turnnumber;
		this.path = path;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getNameEn() {
		return this.nameEn;
	}

	public void setNameEn(String nameEn) {
		this.nameEn = nameEn;
	}

	public String getNameCn() {
		return this.nameCn;
	}

	public void setNameCn(String nameCn) {
		this.nameCn = nameCn;
	}

	public String getParentId() {
		return this.parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public Integer getLevels() {
		return this.levels;
	}

	public void setLevels(Integer levels) {
		this.levels = levels;
	}

	public Integer getTurnnumber() {
		return this.turnnumber;
	}

	public void setTurnnumber(Integer turnnumber) {
		this.turnnumber = turnnumber;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

}